package cn.starsray.service;


import cn.starsray.common.CommonPage;
import cn.starsray.entity.Employee;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * (Employee)表服务接口
 *
 * @author makejava
 * @since 2022-01-17 10:35:52
 */
public interface EmployeeService extends IService<Employee> {

    /**
     * 分页查询
     *
     * @param current 当前页码
     * @param size    分页大小
     * @return {@link Page< Employee > }
     */
    CommonPage<Employee> selectPage(long current, long size);
}